/*
 * @Author: WangGuojian 1085844536@qq.com
 * @Date: 2022-12-15 13:33:46
 * @LastEditTime: 2023-12-13 20:26:55
 * @LastEditors: WangGuojian 1085844536@qq.com
 * @FilePath: \HelloWorldd:\Developer\WGJ\VSCode_WorkSpace\Cpp\c-learning\code\io\printf.c
 * @Description:
 */
#include <stdio.h>
#include <stdlib.h>

#define STRSIZE 32

int main() {

    int i = 255;
    float f = 123.456;
    char str[STRSIZE] = "helloworld";
    double dou = 123.456;
    long long l = 123456;

    printf("[%s:%d]before while().", __FUNCTION__, __LINE__);

    // while (1);
    sleep(5);

    printf("[%s:%d]after while().", __FUNCTION__, __LINE__);

    // printf("hello world\n");

    // printf("%d %e\n", i, f);

    // printf("%lf\n", dou);
    // printf("l = %ld\n", l);
    // printf("i = %#o\ni = %#x\n", i, i);
    // printf("str = %-10.5s[over]\n", str);
    // printf("f = %8.1f\n", f);
    // printf("i = %2d\n", i);

    exit(0);
}